﻿using B.S.DataBase.MyProject.ErrorCode;
using B.S.Traceability.Read.API.Dtos;
using MediatR;

namespace B.S.Traceability.Read.API.Applicantion.Command.GoodsCommand
{
    public class QueryGoodsCommand:IRequest<ApiPaging<GoodsDTO>>
    {
        /// <summary>
        /// 商品名称编号
        /// </summary>
        public int? GoodNameId { get; set; }
        /// <summary>
        /// 生产批次号
        /// </summary>
        public string? ProductionCode { get; set; }
        /// <summary>
        /// 保质期(天)
        /// </summary>
        public int? SellByDay { get; set; }
        /// <summary>
        /// 生产许可证号  
        /// </summary>
        public string? ProNumber { get; set; }

        /// <summary>
        /// 生产企业
        /// </summary>
        public string? ProductionEnt { get; set; }
        /// <summary>
        /// 创建人
        /// </summary>
        public string? CreateName { get; set; }
        /// <summary>
        /// 修改人
        /// </summary>
        public string? UpdateName { get; set; }
        /// <summary>
        /// 页序号
        /// </summary>
        public int PageIndex {  get; set; }
        /// <summary>
        /// 页容量
        /// </summary>
        public int PageSize {  get; set; }
    }
}
